package io.github.jast90.internship.mapper;

import io.github.jast90.internship.entity.User;
import io.github.jast90.web.common.mapper.BaseMapper;

import java.util.List;

/**
 * Created by jast90 on 2021/3/8
 */
public interface UserMapper extends BaseMapper<User> {
    User selectByUsernameAndPassword(String username);

    int batchInsert(List<User> users);

    int updatePassword(User user);
}
